<template>
<div class="reject">
  <div class="reject-nav">
    <div class="reject-nav-aspect">
      <div class="reject-nav-aspect-content">
        <div class="reject-nav-aspect-content-title">您好！当前账户暂未分配权限</div>
        <div class="reject-nav-aspect-content-reason">
          <div class="form-title">非常抱歉</div>
          <div class="form-message">请联系平台客服处理</div>
        </div>
      </div>
      <div class="reject-nav-aspect-btn" @click="dialogVisible=true">联系平台客服</div>
    </div>
  </div>

  <el-dialog width="579px" title="提示" :visible.sync="dialogVisible" class="forget">
    <div class="forget-password">
      <div class="forget-password-icon">
        <img src="@/assets/images_login/wjmm_icon.png" alt="wjmm_icon">
      </div>
      <div class="forget-password-content" >
        <div>请联系平台客服分配权限！</div>
        <div>客服热线：<span>0757-82138330</span></div>
      </div>
    </div>
    <template #footer>
      <div class="forget-password-footer">
        <div class="btn" @click="dialogVisible=false">我知道了</div>
      </div>
    </template>
  </el-dialog>
</div>

</template>

<script>
export default {
  name:'noPermission',
  data(){
    return {
      dialogVisible:false
    }
  }
}
</script>

<style lang="scss" scoped>
@import '~@/assets/styles/web_common.scss';
.reject{
  width:100%;
}

.reject-nav{
  &-aspect{
    position: relative;
    width: 1200px;
    height: 241px;
    background: #FFF8F8 url(~@/assets/images_accredited/qyrz_failure_pic.png) no-repeat;
    background-position:79px center;
  }

  &-aspect-content{
    padding-left: 267px;
    display: flex;
    flex-direction: column;
    &-title{
      margin-top: 56px;
      font-size: 30px;
      color: #E41616;
    }
    &-reason{
      margin-top: 40px;
    }
  }

  &-aspect-btn{
    cursor: pointer;
    position: absolute;
    right: 89px;
    top: 50%;
    transform: translateY(-50%);
    width: 240px;
    height: 58px;
    background-color: #E41616;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 58px;
    border-radius:6px;
  }
}

.form-title{
  position: relative;
  padding-left: 27px;
  font-weight: 700;
  font-size: 24px;
  color: #565656;
  &::before{
    content:'';
    position: absolute;
    background-color: #E41616;
    width: 6px;
    height: 24px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

.form-message{
  margin-top: 18px;
  padding-left: 27px;
  font-size: 20px;
  color: #565656;
}



.forget-password{
  display: flex;
  align-items: center;

  &-icon{
    width: 75px;
    height: 75px;
    img{
      width: 100%;
    }


  }

  &-content{
    margin-left: 25px;
    color: #333333;
    font-size: 18px;
    line-height: 30px;
    span{
      font-style: italic;
      font-weight: 700;
    }
  }

  &-footer{
    display: flex;
    justify-content: flex-end;

    .btn{
      width: 115px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      background-color: #C69766;
      color: #fff;
      border-radius: 4px;
      cursor: pointer;

    }

  }


}

::v-deep .forget .el-dialog:not(.is-fullscreen) {
  margin-top: 42vh !important;
}

::v-deep .forget .el-dialog__header{
  background-color: #EEEEEE;
}
::v-deep .forget .el-dialog__body{
  padding: 20px 20px 20px 25px;
}

</style>
